<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />				
		<meta charset="UTF-8">
		<title>健康调查表</title>
		<link rel="stylesheet" href="${BASE_PATH}/static/app/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="${BASE_PATH}/static/app/css/header.css"/>	
	    <link rel="stylesheet" href="${BASE_PATH}/static/app/css/bodyDetect.css" />
	</head>
	<body>
		<div class="header">
			<span class="back" onclick="history.go(-1);"></span>
			<a href="/index"><span class="logo_pic"></span></a>
			<span class="logo_text">OK 妈咪</span>
		</div>
		<div class="title title-top">
			<h3 class="title-content">一般情况</h3>	
		</div>
		<div class="warp">
			<p>孕前体重<span>${health.beford_weight }kg</span></p>
			<p>孕高峰体重<span>${health.ygftz }kg</span></p>			
			<p>孕前后体重差<span>${health.yqhtzc }kg</span></p>
			<p>直系亲属(父母及兄弟姐妹)肥胖人数<span>${health.zxqsfprs }人</span></p>
		</div>
		<div class="warp warp2">
			<p>生产<span><c:if test="${fn:contains(health.shengchan,1)}">顺产</c:if><c:if test="${fn:contains(health.shengchan,2)}">难产</c:if><c:if test="${fn:contains(health.shengchan,3)}">剖腹产</c:if><c:if test="${fn:contains(health.shengchan,4)}">大出血</c:if></span></p>
			<p>哺乳<span><c:if test="${health.buru==1 }">在哺乳</c:if><c:if test="${health.buru==2 }">没有哺乳</c:if></span></p>
			<p>过敏<span><c:if test="${fn:contains(health.guomin,1)}">金属</c:if><c:if test="${fn:contains(health.guomin,2)}">化妆品</c:if><c:if test="${fn:contains(health.guomin,3)}">无</c:if><c:if test="${fn:contains(health.guomin,4)}">其他</c:if></span></p>
			<p>减重经历<span><c:if test="${fn:contains(health.jzjl,1)}">从未有过</c:if><c:if test="${fn:contains(health.jzjl,2)}">以前有过</c:if><c:if test="${fn:contains(health.jzjl,3)}">正在做</c:if></span></p>
			<div class="warp-checkbox">手段与手法<span><c:if test="${fn:contains(health.sdysf,1)}">药物</c:if><c:if test="${fn:contains(health.sdysf,2)}"> 节食</c:if><c:if test="${fn:contains(health.sdysf,3)}"> 运动</c:if><c:if test="${fn:contains(health.sdysf,4)}"> 体雕衣</c:if><c:if test="${fn:contains(health.sdysf,5)}"> 手术</c:if><c:if test="${fn:contains(health.sdysf,6)}"> 理疗</c:if></span>
		     </div>
		</div>
	   	<div class="title">
			<h3 class="title-content">排毒指数</h3>	
		</div>
		<div class="warp">
			<p><span><c:if test="${fn:contains(health.pdzs,1)}">便秘</c:if><c:if test="${fn:contains(health.pdzs,2)}"> 体热易出汗</c:if><c:if test="${fn:contains(health.pdzs,3)}"> 睡前虚汗</c:if>
			<c:if test="${fn:contains(health.pdzs,4)}"> 醒后盗汗</c:if><c:if test="${fn:contains(health.pdzs,5)}"> 不易出汗</c:if></span></p>
			<p>每天排便<span>${health.mtpbjc }次</span></p>			
			<p>每天排尿<span>${health.mtpnjc }次</span></p>
			<%-- <p>排汗<span>${health.mtpnjc }</span></p> --%>
		</div>
		<div class="title">
			<h3 class="title-content">压力指数</h3>	
		</div>
		<div class="warp">
			<p>每周工作时间<span>${health.mzgzsj }小时</span></p>
			<p>劳动强度<span> <c:if test="${health.ldqd==1 }">轻度</c:if><c:if test="${health.ldqd==2 }">中度</c:if><c:if test="${health.ldqd==3 }">重度</c:if> </span></p>
			<p>每天睡眠时间<span>${health.mtsmsj }小时</span></p>			
			<p>睡眠质量<span><c:if test="${health.smzl==1 }">很好</c:if><c:if test="${health.smzl==2 }">良好</c:if><c:if test="${health.smzl==3 }">差劲</c:if></span></p>
			<p>心理<span><c:if test="${fn:contains(health.xinli,1)}">产后抑郁</c:if><c:if test="${fn:contains(health.xinli,2)}"> 产后焦虑</c:if><c:if test="${fn:contains(health.xinli,3)}"> 自卑</c:if>
			<c:if test="${fn:contains(health.xinli,4)}"> 自闭</c:if></span></p>
		</div>
		<div class="title">
			<h3 class="title-content">生活习惯</h3>	
		</div>
		<div class="warp">
			<p>主要运动方式<span>${health.zyydfs }</span></p>
			<p>每日运动量<span>${health.mrydl }小时</span></p>	

			<div class="warp-checkbox">一日三餐
			   <span><c:if test="${fn:contains(health.yrss,1)}">规律</c:if>

						  <c:if test="${fn:contains(health.yrss,2)}">偶尔不规律</c:if>
						  <c:if test="${fn:contains(health.yrss,3)}">经常不规律</c:if>
						  <c:if test="${fn:contains(health.yrss,4)}">吸烟</c:if>
						  <c:if test="${fn:contains(health.yrss,5)}">习惯性饮酒</c:if>
						  <c:if test="${fn:contains(health.yrss,6)}">经常喝咖啡/可乐/饮料</c:if>
               </span>
			</div>

			<p>加餐<span> <c:if test="${fn:contains(health.jiacan,1)}">无</c:if> <c:if test="${fn:contains(health.jiacan,2)}">下午</c:if><c:if test="${fn:contains(health.jiacan,3)}">晚上</c:if></span></p>
			<p>每天与宝宝相处时间<span>${health.mtybbxcsj }小时</span></p>
			<p>每晚醒<span>${health.mwxjc }次</span></p>
			<p>主要有谁来照顾宝宝<span>
								<c:if test="${fn:contains(health.slzgbb,1)}">自己</c:if>
								<c:if test="${fn:contains(health.slzgbb,2)}">丈夫</c:if>
								<c:if test="${fn:contains(health.slzgbb,3)}">长辈</c:if>
								<c:if test="${fn:contains(health.slzgbb,4)}">保姆</c:if>
			</span></p>
			<p>与丈夫之间互动障碍<span>
								<c:if test="${fn:contains(health.hdza,1)}">交流</c:if>
								<c:if test="${fn:contains(health.hdza,2)}">照顾宝宝</c:if>
								<c:if test="${fn:contains(health.hdza,3)}">性</c:if>
								<c:if test="${fn:contains(health.hdza,4)}">家务</c:if>
			</span></p>
		</div>
		<div class="title">
			<h3 class="title-content">关注焦点    急需改善</h3>	
		</div>
		<div class="warp warp-box">
			<%-- <c:if test="${fn:contains(health.gzjd,1)}"><span>体制体能问题</span></c:if>
			<c:if test="${fn:contains(health.gzjd,2)}"><span>肥胖问题</span></c:if>
			<c:if test="${fn:contains(health.gzjd,3)}"><span>体型问题</span></c:if>
			<c:if test="${fn:contains(health.gzjd,4)}"><span>松弛</span></c:if>
			<c:if test="${fn:contains(health.gzjd,5)}"><span>乳房问题</span></c:if>
			<c:if test="${fn:contains(health.gzjd,6)}"><span>脱发</span></c:if>
			<c:if test="${fn:contains(health.gzjd,7)}"><span>妊娠纹</span></c:if>
			<c:if test="${fn:contains(health.gzjd,8)}"><span>剖腹产疤痕</span></c:if>
			<c:if test="${fn:contains(health.gzjd,9)}"><span>面部皮肤</span></c:if>
			<c:if test="${fn:contains(health.gzjd,10)}"><span>女性特征</span></c:if>
			<c:if test="${fn:contains(health.gzjd,11)}"><span>身体酸疼</span></c:if>
			<c:if test="${fn:contains(health.gzjd,12)}"><span>小腹胀痛</span></c:if>
			<c:if test="${fn:contains(health.gzjd,13)}"><span>食欲旺盛或食不知味</span></c:if>
			<c:if test="${fn:contains(health.gzjd,14)}"><span>多汗</span></c:if>
			<c:if test="${fn:contains(health.gzjd,15)}"><span>胃寒</span></c:if>
			<c:if test="${fn:contains(health.gzjd,16)}"><span>便秘</span></c:if>
			<c:if test="${fn:contains(health.gzjd,17)}"><span>妇科炎症</span></c:if>
			<c:if test="${fn:contains(health.gzjd,18)}"><span>容易疲倦</span></c:if> --%>
			<span id="gzjd1" style="display:none">体制体能问题</span>
			<span id="gzjd2" style="display:none">肥胖问题</span>
			<span id="gzjd3" style="display:none">体型问题</span>
			<span id="gzjd4" style="display:none">松弛</span>
			<span id="gzjd5" style="display:none">乳房问题</span>
			<span id="gzjd6" style="display:none">脱发</span>
			<span id="gzjd7" style="display:none">妊娠纹</span>
			<span id="gzjd8" style="display:none">剖腹产疤痕</span>
			<span id="gzjd9" style="display:none">面部皮肤</span>
			<span id="gzjd10" style="display:none">女性特征</span>
			<span id="gzjd11" style="display:none">身体酸疼</span>
			<span id="gzjd12" style="display:none">小腹胀痛</span>
			<span id="gzjd13" style="display:none">食欲旺盛或食不知味</span>
			<span id="gzjd14" style="display:none">多汗</span>
			<span id="gzjd15" style="display:none">胃寒</span>
			<span id="gzjd16" style="display:none">便秘</span>
			<span id="gzjd17" style="display:none">妇科炎症</span>
			<span id="gzjd18" style="display:none">容易疲倦</span>
			
		</div>
		<div class="title">
			<h3 class="title-content">可到店配合时间</h3>	
		</div>
		<div class="warp warp-tip">
			<p><c:if test="${fn:contains(health.phsj,1)}">每天一次</c:if>
			<c:if test="${fn:contains(health.phsj,2)}">每周二-三次</c:if>
			<c:if test="${fn:contains(health.phsj,3)}">每周一次</c:if>
			<c:if test="${fn:contains(health.phsj,4)}">二周一次</c:if>
			<c:if test="${fn:contains(health.phsj,5)}">一月一次</c:if>
			<c:if test="${fn:contains(health.phsj,6)}">时间不固定</c:if></p>
		</div>
	</body>
	<script type="text/javascript" src="${BASE_PATH}/static/lib/jquery/jquery-1.11.2.min.js"></script>
	<script type="text/javascript">
	$(function(){
		query();
	});
	function query(){
		var gzjd="${health.gzjd}";
		$.each(gzjd.split(","),function(key,value){
			$("#gzjd"+value).show();
		});
	}
	</script>
</html>
